import service from '@/utils/request'

const LocaleApi = {
  // ----------------场所管理--------------
  listLocale:function(data){
    return service.get('locale/page', {params:data})
  },
  getLocaleInfo:function(data){
    return service.get('locale', {params:data})
  },
  listData:function(data){
    return service.get('localeMaster/listData', {params:data})
  },
  setLocalRestrict:function(data){
    return service.post('localeMaster/setLocalRestrict', data)
  },
  customerOperation:function(data){
    return service.put('customer/customerOperation', data)
  },
  exportUser:function(data){
    return service.get('locale/exportLocaleCustomer',  { params: data, responseType: 'blob' })
  },
  listEquip:function(data){
    return service.get('equip/listEquip',  { params: data})
  },
  unbindBinding:function(data){
    return service.put('equip/unbindBinding', data)
  },
  
}

export default LocaleApi
